const { Schema, model } = require("mongoose");

const contentSchema = new Schema({
  contentId: {
    type: Number,
    unique: true,
  },
  chapterId: {
    type: Number,
  },
  content: {
    type: String,
  },
  order: {
    type: Number,
  },
});

module.exports.ContentModel = model("contentModel", contentSchema);
